Current File : /var/www/vinorea/var/cache/dev/twig/ff/ffb4039e677146fa0fd950994d72a920.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Security/Collector/security.html.twig */
class __TwigTemplate_91cbe887936ee4391d04ad33c3641ca5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_title' => [$this, 'block_page_title'],
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Security/Collector/security.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Security/Collector/security.html.twig"));
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@Security/Collector/security.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_page_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
echo "Security";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_toolbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 6
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "token", [], "any", false, false, false, 6)) {
// line 7
echo " ";
$context["is_authenticated"] = (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 7, $this->source); })()), "enabled", [], "any", false, false, false, 7) && twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 7, $this->source); })()), "authenticated", [], "any", false, false, false, 7));
// line 8
echo " ";
$context["color_code"] = (( !(isset($context["is_authenticated"]) || array_key_exists("is_authenticated", $context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.', 8, $this->source); })())) ? ("yellow") : (""));
// line 9
echo " ";
} else {
// line 10
echo " ";
$context["color_code"] = ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 10, $this->source); })()), "enabled", [], "any", false, false, false, 10)) ? ("red") : (""));
// line 11
echo " ";
}
// line 12
echo "
";
// line 13
ob_start();
// line 14
echo " ";
echo twig_include($this->env, $context, "@Security/Collector/icon.svg");
echo "
<span class=\"sf-toolbar-value\">";
// line 15
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "user", [], "any", true, true, false, 15)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "user", [], "any", false, false, false, 15), "n/a")) : ("n/a")), "html", null, true);
echo "</span>
";
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 17
echo "
";
// line 18
ob_start();
// line 19
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 19, $this->source); })()), "impersonated", [], "any", false, false, false, 19)) {
// line 20
echo " <div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Impersonator</b>
<span>";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 23, $this->source); })()), "impersonatorUser", [], "any", false, false, false, 23), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 27
echo "
<div class=\"sf-toolbar-info-group\">
";
// line 29
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 29, $this->source); })()), "enabled", [], "any", false, false, false, 29)) {
// line 30
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 30, $this->source); })()), "token", [], "any", false, false, false, 30)) {
// line 31
echo " <div class=\"sf-toolbar-info-piece\">
<b>Logged in as</b>
<span>";
// line 33
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 33, $this->source); })()), "user", [], "any", false, false, false, 33), "html", null, true);
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Authenticated</b>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 38
echo (((isset($context["is_authenticated"]) || array_key_exists("is_authenticated", $context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.', 38, $this->source); })())) ? ("green") : ("red"));
echo "\">";
echo (((isset($context["is_authenticated"]) || array_key_exists("is_authenticated", $context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.', 38, $this->source); })())) ? ("Yes") : ("No"));
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Token class</b>
<span>";
// line 43
echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 43, $this->source); })()), "tokenClass", [], "any", false, false, false, 43), "html", null, true));
echo "</span>
</div>
";
} else {
// line 46
echo " <div class=\"sf-toolbar-info-piece\">
<b>Authenticated</b>
<span class=\"sf-toolbar-status sf-toolbar-status-red\">No</span>
</div>
";
}
// line 51
echo "
";
// line 52
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 52, $this->source); })()), "firewall", [], "any", false, false, false, 52)) {
// line 53
echo " <div class=\"sf-toolbar-info-piece\">
<b>Firewall name</b>
<span>";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 55, $this->source); })()), "firewall", [], "any", false, false, false, 55), "name", [], "any", false, false, false, 55), "html", null, true);
echo "</span>
</div>
";
}
// line 58
echo "
";
// line 59
if ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 59, $this->source); })()), "token", [], "any", false, false, false, 59) && twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 59, $this->source); })()), "logoutUrl", [], "any", false, false, false, 59))) {
// line 60
echo " <div class=\"sf-toolbar-info-piece\">
<b>Actions</b>
<span>
<a href=\"";
// line 63
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 63, $this->source); })()), "logoutUrl", [], "any", false, false, false, 63), "html", null, true);
echo "\">Logout</a>
";
// line 64
if ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 64, $this->source); })()), "impersonated", [], "any", false, false, false, 64) && twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 64, $this->source); })()), "impersonationExitPath", [], "any", false, false, false, 64))) {
// line 65
echo " | <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 65, $this->source); })()), "impersonationExitPath", [], "any", false, false, false, 65), "html", null, true);
echo "\">Exit impersonation</a>
";
}
// line 67
echo " </span>
</div>
";
}
// line 70
echo " ";
} else {
// line 71
echo " <div class=\"sf-toolbar-info-piece\">
<span>The security is disabled.</span>
</div>
";
}
// line 75
echo " </div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 77
echo "
";
// line 78
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 78, $this->source); })()), "status" => (isset($context["color_code"]) || array_key_exists("color_code", $context) ? $context["color_code"] : (function () { throw new RuntimeError('Variable "color_code" does not exist.', 78, $this->source); })())]);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 81
public function block_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 82
echo " <span class=\"label ";
echo ((( !twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 82, $this->source); })()), "enabled", [], "any", false, false, false, 82) || !twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 82, $this->source); })()), "token", [], "any", false, false, false, 82))) ? ("disabled") : (""));
echo "\">
<span class=\"icon\">";
// line 83
echo twig_include($this->env, $context, "@Security/Collector/icon.svg");
echo "</span>
<strong>Security</strong>
</span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 88
public function block_panel($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 89
echo " <h2>Security Token</h2>
";
// line 91
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 91, $this->source); })()), "enabled", [], "any", false, false, false, 91)) {
// line 92
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 92, $this->source); })()), "token", [], "any", false, false, false, 92)) {
// line 93
echo " <div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 95
(((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 95, $this->source); })()), "user", [], "any", false, false, false, 95) == "anon.")) ? (print ("Anonymous")) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 95, $this->source); })()), "user", [], "any", false, false, false, 95), "html", null, true))));
echo "</span>
<span class=\"label\">Username</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 100
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 100, $this->source); })()), "authenticated", [], "any", false, false, false, 100)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Authenticated</span>
</div>
</div>
<table>
<thead>
<tr>
<th scope=\"col\" class=\"key\">Property</th>
<th scope=\"col\">Value</th>
</tr>
</thead>
<tbody>
<tr>
<th>Roles</th>
<td>
";
// line 116
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 116, $this->source); })()), "roles", [], "any", false, false, false, 116))) ? ("none") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 116, $this->source); })()), "roles", [], "any", false, false, false, 116), 1)));
echo "
";
// line 118
if (( !twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 118, $this->source); })()), "authenticated", [], "any", false, false, false, 118) && twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 118, $this->source); })()), "roles", [], "any", false, false, false, 118)))) {
// line 119
echo " <p class=\"help\">User is not authenticated probably because they have no roles.</p>
";
}
// line 121
echo " </td>
</tr>
";
// line 124
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 124, $this->source); })()), "supportsRoleHierarchy", [], "any", false, false, false, 124)) {
// line 125
echo " <tr>
<th>Inherited Roles</th>
<td>";
// line 127
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 127, $this->source); })()), "inheritedRoles", [], "any", false, false, false, 127))) ? ("none") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 127, $this->source); })()), "inheritedRoles", [], "any", false, false, false, 127), 1)));
echo "</td>
</tr>
";
}
// line 130
echo "
";
// line 131
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 131, $this->source); })()), "token", [], "any", false, false, false, 131)) {
// line 132
echo " <tr>
<th>Token</th>
<td>";
// line 134
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 134, $this->source); })()), "token", [], "any", false, false, false, 134));
echo "</td>
</tr>
";
}
// line 137
echo " </tbody>
</table>
";
} elseif (twig_get_attribute($this->env, $this->source, // line 139
(isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 139, $this->source); })()), "enabled", [], "any", false, false, false, 139)) {
// line 140
echo " <div class=\"empty\">
<p>There is no security token.</p>
</div>
";
}
// line 144
echo "
<h2>Security Firewall</h2>
";
// line 148
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 148, $this->source); })()), "firewall", [], "any", false, false, false, 148)) {
// line 149
echo " <div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 151
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 151, $this->source); })()), "firewall", [], "any", false, false, false, 151), "name", [], "any", false, false, false, 151), "html", null, true);
echo "</span>
<span class=\"label\">Name</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 155
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 155, $this->source); })()), "firewall", [], "any", false, false, false, 155), "security_enabled", [], "any", false, false, false, 155)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Security enabled</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 159
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 159, $this->source); })()), "firewall", [], "any", false, false, false, 159), "stateless", [], "any", false, false, false, 159)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Stateless</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 163
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 163, $this->source); })()), "firewall", [], "any", false, false, false, 163), "allows_anonymous", [], "any", false, false, false, 163)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Allows anonymous</span>
</div>
</div>
";
// line 168
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 168, $this->source); })()), "firewall", [], "any", false, false, false, 168), "security_enabled", [], "any", false, false, false, 168)) {
// line 169
echo " <h4>Configuration</h4>
<table>
<thead>
<tr>
<th scope=\"col\" class=\"key\">Key</th>
<th scope=\"col\">Value</th>
</tr>
</thead>
<tbody>
<tr>
<th>provider</th>
<td>";
// line 181
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 181, $this->source); })()), "firewall", [], "any", false, false, false, 181), "provider", [], "any", false, false, false, 181)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 181, $this->source); })()), "firewall", [], "any", false, false, false, 181), "provider", [], "any", false, false, false, 181), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>context</th>
<td>";
// line 185
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 185, $this->source); })()), "firewall", [], "any", false, false, false, 185), "context", [], "any", false, false, false, 185)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 185, $this->source); })()), "firewall", [], "any", false, false, false, 185), "context", [], "any", false, false, false, 185), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>entry_point</th>
<td>";
// line 189
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 189, $this->source); })()), "firewall", [], "any", false, false, false, 189), "entry_point", [], "any", false, false, false, 189)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 189, $this->source); })()), "firewall", [], "any", false, false, false, 189), "entry_point", [], "any", false, false, false, 189), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>user_checker</th>
<td>";
// line 193
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 193, $this->source); })()), "firewall", [], "any", false, false, false, 193), "user_checker", [], "any", false, false, false, 193)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 193, $this->source); })()), "firewall", [], "any", false, false, false, 193), "user_checker", [], "any", false, false, false, 193), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>access_denied_handler</th>
<td>";
// line 197
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 197, $this->source); })()), "firewall", [], "any", false, false, false, 197), "access_denied_handler", [], "any", false, false, false, 197)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 197, $this->source); })()), "firewall", [], "any", false, false, false, 197), "access_denied_handler", [], "any", false, false, false, 197), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>access_denied_url</th>
<td>";
// line 201
((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 201, $this->source); })()), "firewall", [], "any", false, false, false, 201), "access_denied_url", [], "any", false, false, false, 201)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 201, $this->source); })()), "firewall", [], "any", false, false, false, 201), "access_denied_url", [], "any", false, false, false, 201), "html", null, true))) : (print ("(none)")));
echo "</td>
</tr>
<tr>
<th>listeners</th>
<td>";
// line 205
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 205, $this->source); })()), "firewall", [], "any", false, false, false, 205), "listeners", [], "any", false, false, false, 205))) ? ("(none)") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 205, $this->source); })()), "firewall", [], "any", false, false, false, 205), "listeners", [], "any", false, false, false, 205), 1)));
echo "</td>
</tr>
</tbody>
</table>
<h4>Listeners</h4>
";
// line 212
if (twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "listeners", [], "any", true, true, false, 212)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "listeners", [], "any", false, false, false, 212), [])) : ([])))) {
// line 213
echo " <div class=\"empty\">
<p>No security listeners have been recorded. Check that debugging is enabled in the kernel.</p>
</div>
";
} else {
// line 217
echo " <table>
<thead>
<tr>
<th>Listener</th>
<th>Duration</th>
<th>Response</th>
</tr>
</thead>
";
// line 226
$context["previous_event"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 226, $this->source); })()), "listeners", [], "any", false, false, false, 226));
// line 227
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 227, $this->source); })()), "listeners", [], "any", false, false, false, 227));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
// line 228
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 228) || ($context["listener"] != (isset($context["previous_event"]) || array_key_exists("previous_event", $context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.', 228, $this->source); })())))) {
// line 229
echo " ";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 229)) {
// line 230
echo " </tbody>
";
}
// line 232
echo "
<tbody>
";
// line 234
$context["previous_event"] = $context["listener"];
// line 235
echo " ";
}
// line 236
echo "
<tr>
<td class=\"font-normal\">";
// line 238
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "stub", [], "any", false, false, false, 238));
echo "</td>
<td class=\"no-wrap\">";
// line 239
echo twig_escape_filter($this->env, twig_sprintf("%0.2f", (twig_get_attribute($this->env, $this->source, $context["listener"], "time", [], "any", false, false, false, 239) * 1000)), "html", null, true);
echo " ms</td>
<td class=\"font-normal\">";
// line 240
echo ((twig_get_attribute($this->env, $this->source, $context["listener"], "response", [], "any", false, false, false, 240)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, $context["listener"], "response", [], "any", false, false, false, 240))) : ("(none)"));
echo "</td>
</tr>
";
// line 243
if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 243)) {
// line 244
echo " </tbody>
";
}
// line 246
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 247
echo " </table>
";
}
// line 249
echo " ";
}
// line 250
echo " ";
} elseif (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 250, $this->source); })()), "enabled", [], "any", false, false, false, 250)) {
// line 251
echo " <div class=\"empty\">
<p>This request was not covered by any firewall.</p>
</div>
";
}
// line 255
echo " ";
} else {
// line 256
echo " <div class=\"empty\">
<p>The security component is disabled.</p>
</div>
";
}
// line 260
echo "
";
// line 261
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "voters", [], "any", true, true, false, 261)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "voters", [], "any", false, false, false, 261), [])) : ([])))) {
// line 262
echo " <h2>Security Voters <small>(";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 262, $this->source); })()), "voters", [], "any", false, false, false, 262)), "html", null, true);
echo ")</small></h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 266
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "voterStrategy", [], "any", true, true, false, 266)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "voterStrategy", [], "any", false, false, false, 266), "unknown")) : ("unknown")), "html", null, true);
echo "</span>
<span class=\"label\">Strategy</span>
</div>
</div>
<table class=\"voters\">
<thead>
<tr>
<th>#</th>
<th>Voter class</th>
</tr>
</thead>
<tbody>
";
// line 280
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 280, $this->source); })()), "voters", [], "any", false, false, false, 280));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["voter"]) {
// line 281
echo " <tr>
<td class=\"font-normal text-small text-muted nowrap\">";
// line 282
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 282), "html", null, true);
echo "</td>
<td class=\"font-normal\">";
// line 283
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, $context["voter"]);
echo "</td>
</tr>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voter'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 286
echo " </tbody>
</table>
";
}
// line 289
echo "
";
// line 290
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any", true, true, false, 290)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any", false, false, false, 290), [])) : ([])))) {
// line 291
echo " <h2>Access decision log</h2>
<table class=\"decision-log\">
<col style=\"width: 30px\">
<col style=\"width: 120px\">
<col style=\"width: 25%\">
<col style=\"width: 60%\">
<thead>
<tr>
<th>#</th>
<th>Result</th>
<th>Attributes</th>
<th>Object</th>
</tr>
</thead>
<tbody>
";
// line 309
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 309, $this->source); })()), "accessDecisionLog", [], "any", false, false, false, 309));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["decision"]) {
// line 310
echo " <tr class=\"voter_result\">
<td class=\"font-normal text-small text-muted nowrap\">";
// line 311
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 311), "html", null, true);
echo "</td>
<td class=\"font-normal\">
";
// line 313
echo ((twig_get_attribute($this->env, $this->source, $context["decision"], "result", [], "any", false, false, false, 313)) ? ("<span class=\"label status-success same-width\">GRANTED</span>") : ("<span class=\"label status-error same-width\">DENIED</span>"));
// line 316
echo "
</td>
<td>
";
// line 319
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["decision"], "attributes", [], "any", false, false, false, 319)) == 1)) {
// line 320
echo " ";
$context["attribute"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["decision"], "attributes", [], "any", false, false, false, 320));
// line 321
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["attribute"] ?? null), "expression", [], "any", true, true, false, 321)) {
// line 322
echo " Expression: <pre><code>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["attribute"]) || array_key_exists("attribute", $context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.', 322, $this->source); })()), "expression", [], "any", false, false, false, 322), "html", null, true);
echo "</code></pre>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 323
(isset($context["attribute"]) || array_key_exists("attribute", $context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.', 323, $this->source); })()), "type", [], "any", false, false, false, 323) == "string")) {
// line 324
echo " ";
echo twig_escape_filter($this->env, (isset($context["attribute"]) || array_key_exists("attribute", $context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.', 324, $this->source); })()), "html", null, true);
echo "
";
} else {
// line 326
echo " ";
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, (isset($context["attribute"]) || array_key_exists("attribute", $context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.', 326, $this->source); })()));
echo "
";
}
// line 328
echo " ";
} else {
// line 329
echo " ";
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, $context["decision"], "attributes", [], "any", false, false, false, 329));
echo "
";
}
// line 331
echo " </td>
<td>";
// line 332
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, $context["decision"], "seek", [0 => "object"], "method", false, false, false, 332));
echo "</td>
</tr>
<tr class=\"voter_details\">
<td></td>
<td colspan=\"3\">
";
// line 337
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["decision"], "voter_details", [], "any", false, false, false, 337))) {
// line 338
echo " ";
$context["voter_details_id"] = ("voter-details-" . twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 338));
// line 339
echo " <div id=\"";
echo twig_escape_filter($this->env, (isset($context["voter_details_id"]) || array_key_exists("voter_details_id", $context) ? $context["voter_details_id"] : (function () { throw new RuntimeError('Variable "voter_details_id" does not exist.', 339, $this->source); })()), "html", null, true);
echo "\" class=\"sf-toggle-content sf-toggle-hidden\">
<table>
<tbody>
";
// line 342
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["decision"], "voter_details", [], "any", false, false, false, 342));
foreach ($context['_seq'] as $context["_key"] => $context["voter_detail"]) {
// line 343
echo " <tr>
<td class=\"font-normal\">";
// line 344
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, $context["voter_detail"], "class", [], "array", false, false, false, 344));
echo "</td>
";
// line 345
if ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 345, $this->source); })()), "voterStrategy", [], "any", false, false, false, 345) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\AccessDecisionManager::STRATEGY_UNANIMOUS"))) {
// line 346
echo " <td class=\"font-normal text-small\">attribute ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["voter_detail"], "attributes", [], "array", false, false, false, 346), 0, [], "array", false, false, false, 346), "html", null, true);
echo "</td>
";
}
// line 348
echo " <td class=\"font-normal text-small\">
";
// line 349
if ((twig_get_attribute($this->env, $this->source, $context["voter_detail"], "vote", [], "array", false, false, false, 349) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_GRANTED"))) {
// line 350
echo " ACCESS GRANTED
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 351
$context["voter_detail"], "vote", [], "array", false, false, false, 351) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_ABSTAIN"))) {
// line 352
echo " ACCESS ABSTAIN
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 353
$context["voter_detail"], "vote", [], "array", false, false, false, 353) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_DENIED"))) {
// line 354
echo " ACCESS DENIED
";
} else {
// line 356
echo " unknown (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["voter_detail"], "vote", [], "array", false, false, false, 356), "html", null, true);
echo ")
";
}
// line 358
echo " </td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voter_detail'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 361
echo " </tbody>
</table>
</div>
<a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#";
// line 364
echo twig_escape_filter($this->env, (isset($context["voter_details_id"]) || array_key_exists("voter_details_id", $context) ? $context["voter_details_id"] : (function () { throw new RuntimeError('Variable "voter_details_id" does not exist.', 364, $this->source); })()), "html", null, true);
echo "\" data-toggle-alt-content=\"Hide voter details\">Show voter details</a>
";
}
// line 366
echo " </td>
</tr>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['decision'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 369
echo " </tbody>
</table>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@Security/Collector/security.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 891 => 369, 875 => 366, 870 => 364, 865 => 361, 857 => 358, 851 => 356, 847 => 354, 845 => 353, 842 => 352, 840 => 351, 837 => 350, 835 => 349, 832 => 348, 826 => 346, 824 => 345, 820 => 344, 817 => 343, 813 => 342, 806 => 339, 803 => 338, 801 => 337, 793 => 332, 790 => 331, 784 => 329, 781 => 328, 775 => 326, 769 => 324, 767 => 323, 762 => 322, 759 => 321, 756 => 320, 754 => 319, 749 => 316, 747 => 313, 742 => 311, 739 => 310, 722 => 309, 702 => 291, 700 => 290, 697 => 289, 692 => 286, 675 => 283, 671 => 282, 668 => 281, 651 => 280, 634 => 266, 626 => 262, 624 => 261, 621 => 260, 615 => 256, 612 => 255, 606 => 251, 603 => 250, 600 => 249, 596 => 247, 582 => 246, 578 => 244, 576 => 243, 570 => 240, 566 => 239, 562 => 238, 558 => 236, 555 => 235, 553 => 234, 549 => 232, 545 => 230, 542 => 229, 539 => 228, 521 => 227, 519 => 226, 508 => 217, 502 => 213, 500 => 212, 490 => 205, 483 => 201, 476 => 197, 469 => 193, 462 => 189, 455 => 185, 448 => 181, 434 => 169, 432 => 168, 424 => 163, 417 => 159, 410 => 155, 403 => 151, 399 => 149, 397 => 148, 391 => 144, 385 => 140, 383 => 139, 379 => 137, 373 => 134, 369 => 132, 367 => 131, 364 => 130, 358 => 127, 354 => 125, 352 => 124, 347 => 121, 343 => 119, 341 => 118, 336 => 116, 317 => 100, 309 => 95, 305 => 93, 302 => 92, 300 => 91, 296 => 89, 286 => 88, 272 => 83, 267 => 82, 257 => 81, 245 => 78, 242 => 77, 238 => 75, 232 => 71, 229 => 70, 224 => 67, 218 => 65, 216 => 64, 212 => 63, 207 => 60, 205 => 59, 202 => 58, 196 => 55, 192 => 53, 190 => 52, 187 => 51, 180 => 46, 174 => 43, 164 => 38, 156 => 33, 152 => 31, 149 => 30, 147 => 29, 143 => 27, 136 => 23, 131 => 20, 128 => 19, 126 => 18, 123 => 17, 118 => 15, 113 => 14, 111 => 13, 108 => 12, 105 => 11, 102 => 10, 99 => 9, 96 => 8, 93 => 7, 90 => 6, 80 => 5, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block page_title 'Security' %}
{% block toolbar %}
{% if collector.token %}
{% set is_authenticated = collector.enabled and collector.authenticated %}
{% set color_code = not is_authenticated ? 'yellow' %}
{% else %}
{% set color_code = collector.enabled ? 'red' %}
{% endif %}
{% set icon %}
{{ include('@Security/Collector/icon.svg') }}
<span class=\"sf-toolbar-value\">{{ collector.user|default('n/a') }}</span>
{% endset %}
{% set text %}
{% if collector.impersonated %}
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Impersonator</b>
<span>{{ collector.impersonatorUser }}</span>
</div>
</div>
{% endif %}
<div class=\"sf-toolbar-info-group\">
{% if collector.enabled %}
{% if collector.token %}
<div class=\"sf-toolbar-info-piece\">
<b>Logged in as</b>
<span>{{ collector.user }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Authenticated</b>
<span class=\"sf-toolbar-status sf-toolbar-status-{{ is_authenticated ? 'green' : 'red' }}\">{{ is_authenticated ? 'Yes' : 'No' }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Token class</b>
<span>{{ collector.tokenClass|abbr_class }}</span>
</div>
{% else %}
<div class=\"sf-toolbar-info-piece\">
<b>Authenticated</b>
<span class=\"sf-toolbar-status sf-toolbar-status-red\">No</span>
</div>
{% endif %}
{% if collector.firewall %}
<div class=\"sf-toolbar-info-piece\">
<b>Firewall name</b>
<span>{{ collector.firewall.name }}</span>
</div>
{% endif %}
{% if collector.token and collector.logoutUrl %}
<div class=\"sf-toolbar-info-piece\">
<b>Actions</b>
<span>
<a href=\"{{ collector.logoutUrl }}\">Logout</a>
{% if collector.impersonated and collector.impersonationExitPath %}
| <a href=\"{{ collector.impersonationExitPath }}\">Exit impersonation</a>
{% endif %}
</span>
</div>
{% endif %}
{% else %}
<div class=\"sf-toolbar-info-piece\">
<span>The security is disabled.</span>
</div>
{% endif %}
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: color_code }) }}
{% endblock %}
{% block menu %}
<span class=\"label {{ not collector.enabled or not collector.token ? 'disabled' }}\">
<span class=\"icon\">{{ include('@Security/Collector/icon.svg') }}</span>
<strong>Security</strong>
</span>
{% endblock %}
{% block panel %}
<h2>Security Token</h2>
{% if collector.enabled %}
{% if collector.token %}
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.user == 'anon.' ? 'Anonymous' : collector.user }}</span>
<span class=\"label\">Username</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.authenticated ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">Authenticated</span>
</div>
</div>
<table>
<thead>
<tr>
<th scope=\"col\" class=\"key\">Property</th>
<th scope=\"col\">Value</th>
</tr>
</thead>
<tbody>
<tr>
<th>Roles</th>
<td>
{{ collector.roles is empty ? 'none' : profiler_dump(collector.roles, maxDepth=1) }}
{% if not collector.authenticated and collector.roles is empty %}
<p class=\"help\">User is not authenticated probably because they have no roles.</p>
{% endif %}
</td>
</tr>
{% if collector.supportsRoleHierarchy %}
<tr>
<th>Inherited Roles</th>
<td>{{ collector.inheritedRoles is empty ? 'none' : profiler_dump(collector.inheritedRoles, maxDepth=1) }}</td>
</tr>
{% endif %}
{% if collector.token %}
<tr>
<th>Token</th>
<td>{{ profiler_dump(collector.token) }}</td>
</tr>
{% endif %}
</tbody>
</table>
{% elseif collector.enabled %}
<div class=\"empty\">
<p>There is no security token.</p>
</div>
{% endif %}
<h2>Security Firewall</h2>
{% if collector.firewall %}
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.firewall.name }}</span>
<span class=\"label\">Name</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.firewall.security_enabled ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">Security enabled</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.firewall.stateless ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">Stateless</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.firewall.allows_anonymous ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">Allows anonymous</span>
</div>
</div>
{% if collector.firewall.security_enabled %}
<h4>Configuration</h4>
<table>
<thead>
<tr>
<th scope=\"col\" class=\"key\">Key</th>
<th scope=\"col\">Value</th>
</tr>
</thead>
<tbody>
<tr>
<th>provider</th>
<td>{{ collector.firewall.provider ?: '(none)' }}</td>
</tr>
<tr>
<th>context</th>
<td>{{ collector.firewall.context ?: '(none)' }}</td>
</tr>
<tr>
<th>entry_point</th>
<td>{{ collector.firewall.entry_point ?: '(none)' }}</td>
</tr>
<tr>
<th>user_checker</th>
<td>{{ collector.firewall.user_checker ?: '(none)' }}</td>
</tr>
<tr>
<th>access_denied_handler</th>
<td>{{ collector.firewall.access_denied_handler ?: '(none)' }}</td>
</tr>
<tr>
<th>access_denied_url</th>
<td>{{ collector.firewall.access_denied_url ?: '(none)' }}</td>
</tr>
<tr>
<th>listeners</th>
<td>{{ collector.firewall.listeners is empty ? '(none)' : profiler_dump(collector.firewall.listeners, maxDepth=1) }}</td>
</tr>
</tbody>
</table>
<h4>Listeners</h4>
{% if collector.listeners|default([]) is empty %}
<div class=\"empty\">
<p>No security listeners have been recorded. Check that debugging is enabled in the kernel.</p>
</div>
{% else %}
<table>
<thead>
<tr>
<th>Listener</th>
<th>Duration</th>
<th>Response</th>
</tr>
</thead>
{% set previous_event = (collector.listeners|first) %}
{% for listener in collector.listeners %}
{% if loop.first or listener != previous_event %}
{% if not loop.first %}
</tbody>
{% endif %}
<tbody>
{% set previous_event = listener %}
{% endif %}
<tr>
<td class=\"font-normal\">{{ profiler_dump(listener.stub) }}</td>
<td class=\"no-wrap\">{{ '%0.2f'|format(listener.time * 1000) }} ms</td>
<td class=\"font-normal\">{{ listener.response ? profiler_dump(listener.response) : '(none)' }}</td>
</tr>
{% if loop.last %}
</tbody>
{% endif %}
{% endfor %}
</table>
{% endif %}
{% endif %}
{% elseif collector.enabled %}
<div class=\"empty\">
<p>This request was not covered by any firewall.</p>
</div>
{% endif %}
{% else %}
<div class=\"empty\">
<p>The security component is disabled.</p>
</div>
{% endif %}
{% if collector.voters|default([]) is not empty %}
<h2>Security Voters <small>({{ collector.voters|length }})</small></h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.voterStrategy|default('unknown') }}</span>
<span class=\"label\">Strategy</span>
</div>
</div>
<table class=\"voters\">
<thead>
<tr>
<th>#</th>
<th>Voter class</th>
</tr>
</thead>
<tbody>
{% for voter in collector.voters %}
<tr>
<td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
<td class=\"font-normal\">{{ profiler_dump(voter) }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% if collector.accessDecisionLog|default([]) is not empty %}
<h2>Access decision log</h2>
<table class=\"decision-log\">
<col style=\"width: 30px\">
<col style=\"width: 120px\">
<col style=\"width: 25%\">
<col style=\"width: 60%\">
<thead>
<tr>
<th>#</th>
<th>Result</th>
<th>Attributes</th>
<th>Object</th>
</tr>
</thead>
<tbody>
{% for decision in collector.accessDecisionLog %}
<tr class=\"voter_result\">
<td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
<td class=\"font-normal\">
{{ decision.result
? '<span class=\"label status-success same-width\">GRANTED</span>'
: '<span class=\"label status-error same-width\">DENIED</span>'
}}
</td>
<td>
{% if decision.attributes|length == 1 %}
{% set attribute = decision.attributes|first %}
{% if attribute.expression is defined %}
Expression: <pre><code>{{ attribute.expression }}</code></pre>
{% elseif attribute.type == 'string' %}
{{ attribute }}
{% else %}
{{ profiler_dump(attribute) }}
{% endif %}
{% else %}
{{ profiler_dump(decision.attributes) }}
{% endif %}
</td>
<td>{{ profiler_dump(decision.seek('object')) }}</td>
</tr>
<tr class=\"voter_details\">
<td></td>
<td colspan=\"3\">
{% if decision.voter_details is not empty %}
{% set voter_details_id = 'voter-details-' ~ loop.index %}
<div id=\"{{ voter_details_id }}\" class=\"sf-toggle-content sf-toggle-hidden\">
<table>
<tbody>
{% for voter_detail in decision.voter_details %}
<tr>
<td class=\"font-normal\">{{ profiler_dump(voter_detail['class']) }}</td>
{% if collector.voterStrategy == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\AccessDecisionManager::STRATEGY_UNANIMOUS') %}
<td class=\"font-normal text-small\">attribute {{ voter_detail['attributes'][0] }}</td>
{% endif %}
<td class=\"font-normal text-small\">
{% if voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_GRANTED') %}
ACCESS GRANTED
{% elseif voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_ABSTAIN') %}
ACCESS ABSTAIN
{% elseif voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_DENIED') %}
ACCESS DENIED
{% else %}
unknown ({{ voter_detail['vote'] }})
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#{{ voter_details_id }}\" data-toggle-alt-content=\"Hide voter details\">Show voter details</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}
", "@Security/Collector/security.html.twig", "/var/www/vinorea/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig");
}
}